#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: v2_02task_message_queue.py 
@version:
@time: 2022/09/01 
"""
from TapDevops.build_jenkins.v2.v2_base import v2


class V2MessageQueueTaskSetting:
    title = '消息队列'
    task = 'test_message_queue'
    title_source = '作为源'
    title_target = '作为目标'
    copy = '数据复制'
    dev = '数据开发'
    source = 'test_source'
    target = 'test_target'
    create_source = 'test_create_source.py'
    create_target = 'test_create_target.py'
    drop_source_data = 'test_delete_data.py'
    activemq = 'test_activemq'
    kafka = 'test_kafka'
    rocketmq = 'test_rocketmq'
    rabbitmq = 'test_rabbitmq'
    datacopy = 'test_01datacopy.py'
    datadev = 'test_02datadev.py'
    # as source
    # -- copy
    # -activemq
    title_source_activemq_copy = f'{copy}-{title}-{title_source}-{activemq}'
    path_source_activemq_copy = f'{v2}/{task}/{source}/{activemq}/{datacopy}'
    # -kafka
    title_source_kafka_copy = f'{copy}-{title}-{title_source}-{kafka}'
    path_source_kafka_copy = f'{v2}/{task}/{source}/{kafka}/{datacopy}'
    # -rabbitmq
    title_source_rabbitmq_copy = f'{copy}-{title}-{title_source}-{rabbitmq}'
    path_source_rabbitmq_copy = f'{v2}/{task}/{source}/{rabbitmq}/{datacopy}'
    # -rocketmq
    title_source_rocketmq_copy = f'{copy}-{title}-{title_source}-{rocketmq}'
    path_source_rocketmq_copy = f'{v2}/{task}/{source}/{rocketmq}/{datacopy}'
    # -- dev
    # -activemq
    title_source_activemq_dev = f'{dev}-{title}-{title_source}-{activemq}'
    path_source_activemq_dev = f'{v2}/{task}/{source}/{activemq}/{datadev}'
    # -kafka
    title_source_kafka_dev = f'{dev}-{title}-{title_source}-{kafka}'
    path_source_kafka_dev = f'{v2}/{task}/{source}/{kafka}/{datadev}'
    # -rabbitmq
    title_source_rabbitmq_dev = f'{dev}-{title}-{title_source}-{rabbitmq}'
    path_source_rabbitmq_dev = f'{v2}/{task}/{source}/{rabbitmq}/{datadev}'
    # -rocketmq
    title_source_rocketmq_dev = f'{dev}-{title}-{title_source}-{rocketmq}'
    path_source_rocketmq_dev = f'{v2}/{task}/{source}/{rocketmq}/{datadev}'

    # as target
    # -activemq
    title_target_activemq_copy = f'{copy}-{title}-{title_target}-{activemq}'
    path_target_activemq_copy = f'{v2}/{task}/{target}/{activemq}/{datacopy}'
    # -kafka
    title_target_kafka_copy = f'{copy}-{title}-{title_target}-{kafka}'
    path_target_kafka_copy = f'{v2}/{task}/{target}/{kafka}/{datacopy}'
    # -rabbitmq
    title_target_rabbitmq_copy = f'{copy}-{title}-{title_target}-{rabbitmq}'
    path_target_rabbitmq_copy = f'{v2}/{task}/{target}/{rabbitmq}/{datacopy}'
    # -rocketmq
    title_target_rocketmq_copy = f'{copy}-{title}-{title_target}-{rocketmq}'
    path_target_rocketmq_copy = f'{v2}/{task}/{target}/{rocketmq}/{datacopy}'
    # -- dev
    # -activemq
    title_target_activemq_dev = f'{dev}-{title}-{title_target}-{activemq}'
    path_target_activemq_dev = f'{v2}/{task}/{target}/{activemq}/{datadev}'
    # -kafka
    title_target_kafka_dev = f'{dev}-{title}-{title_target}-{kafka}'
    path_target_kafka_dev = f'{v2}/{task}/{target}/{kafka}/{datadev}'
    # -rabbitmq
    title_target_rabbitmq_dev = f'{dev}-{title}-{title_target}-{rabbitmq}'
    path_target_rabbitmq_dev = f'{v2}/{task}/{target}/{rabbitmq}/{datadev}'
    # -rocketmq
    title_target_rocketmq_dev = f'{dev}-{title}-{title_target}-{rocketmq}'
    path_target_rocketmq_dev = f'{v2}/{task}/{target}/{rocketmq}/{datadev}'
